package com.sinochem.yunlian.ship.base.entity;

import com.alibaba.fastjson.annotation.JSONField;
import lombok.Data;

import java.util.Date;
@Data
public class BsPortalIndex {
    private Integer id;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date indexDate;

    private Integer shipCount;

    private Integer meterialCount;

    private Integer shipEmptyCount;

    private Integer totalShipEmpty;

    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date updateTime;


    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", id=").append(id);
        sb.append(", indexDate=").append(indexDate);
        sb.append(", shipCount=").append(shipCount);
        sb.append(", meterialCount=").append(meterialCount);
        sb.append(", shipEmptyCount=").append(shipEmptyCount);
        sb.append(", updateTime=").append(updateTime);
        sb.append("]");
        return sb.toString();
    }
}